package com.dwxt.cdms.service.feign;

import com.dwxt.common.base.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

@FeignClient("cmsapplication")
public interface FileService {
    @PostMapping("/cms/file/saveFileLocal")
    BaseResult uploadHeadPicture(@RequestParam MultipartFile file);
}
